<table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
    <thead>
    <tr>
        <g:each in="${tableHeadList}" status="j" var="headInstance">

            <th width="100"><g:message code="${headInstance}" default="${headInstance}"/></th>

        </g:each>
    </tr>
    </thead>
    <tbody>
    <g:each in="${monitorList}" status="i" var="dataInstance">
        <tr>
            <g:each in="${tableHeadList}" status="j" var="headInstance">
                <g:if test="${headInstance == 'D#'}">
                    <td><a href="${request.getContextPath()}/eqpMonitor/eqpWaitengTime?equipmentId=<%=dataInstance.EQPID%>&start=<%=params.startTime%>&end=<%=params.endTime%>"
                           data-toggle="navtab" data-id="dialog-normal"
                           data-options="{id:'eqpWaitengTime', title:'eqpWaitengTime'}">${dataInstance["${headInstance}"]}</a>
                    </td>
                </g:if>
                <g:elseif test="${headInstance == 'EOH'}">
                    <td><a href="${request.getContextPath()}/eqpMonitor/eqpWipComponentID?eqptype=<%=dataInstance.EQPTYPE%>&end=<%=params.endTime%>"
                           data-toggle="navtab" data-id="dialog-normal"
                           data-options="{id:'eqpWipComponentID', title:'EOH'}">${dataInstance["${headInstance}"]}</a>
                    </td>
                </g:elseif>
                <g:elseif test="${headInstance == 'RWIPRLOT'}">
                    <td><a href="${request.getContextPath()}/eqpMonitor/eqpRwipRlot?equipmentId=<%=dataInstance.EQPID%>&start=<%=params.startTime%>&end=<%=params.endTime%>"
                           data-toggle="navtab" data-id="dialog-normal"
                           data-options="{id:'eqpRwipRlot', title:'eqpRwipRlot'}">${dataInstance["${headInstance}"]}</a>
                    </td>
                </g:elseif>
                <g:elseif test="${headInstance == 'TTL'}">
                    <td><a href="${request.getContextPath()}/eqpMonitor/eqpTTL?equipmentId=<%=dataInstance.EQPID%>&start=<%=params.startTime%>&end=<%=params.endTime%>"
                           data-toggle="navtab" data-id="dialog-normal"
                           data-options="{id:'eqpTTL', title:'TTL'}">${dataInstance["${headInstance}"]}</a>
                    </td>
                </g:elseif>
                <g:else>
                    <td>${dataInstance["${headInstance}"]}</td>
                </g:else>
            </g:each>
        </tr>
    </g:each>
    </tbody>
</table>